<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简易计算器</title>
    <script src="./js/vue.js"></script>
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <div class="box">
        <div class="display">{{ result }}</div>
        <div class="key">
            <div class="number">
                <li onselectstart="return false;" @click="click10">00</li>
                <li onselectstart="return false;" @click="empty">C</li>
                <li onselectstart="return false;" @click="remove">
                    <div>X</div>
                </li>
                <li :class="{ pass: ispass == index }" onselectstart="return false;" v-for="(value, index) in nums"
                    @click="clickNum(index)" @mousedown="passkey(index)" @mouseup="upkey">
                    {{ value }}
                </li>
            </div>
            <div class="fuhao">
                <li v-for="value in Keyoperator" @click="fuhao">{{ value }}</li>
                <li @click="jieguo">=</li>
            </div>
        </div>
    </div>
</body>
<script src="./js/index.js"></script>

</html>